<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div class="layui-container">
    <div class="layui-card">
        <div class="layui-card-header">新增</div>
        <div class="layui-card-body">
            <form class="layui-form layui-form-pane" >
                <div class="layui-inline">
                    <div class="layui-input-inline ">
                        <label class="layui-form-label">客户端标识</label>
                        <div class="layui-input-block">
                            <input name="appId" lay-verify="required" type="text" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-input-inline ">
                        <label class="layui-form-label">客户端名称</label>
                        <div class="layui-input-block">
                            <input name="appName" lay-verify="required" type="text" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-input-inline ">
                        <label class="layui-form-label">秘钥</label>
                        <div class="layui-input-block">
                            <input name="appSecret" lay-verify="required" type="text" class="layui-input" style="display: inline;width: 60%;">
                            <input id="generate_key" type="button" class="layui-btn" value="随机生成">
                        </div>
                    </div>
                </div>


                <div class="layui-inline">
                    <div class="layui-inline ">
                        <label class="layui-form-label">白名单</label>
                        <div class="layui-input-block">
                            <input name="whitelist" lay-verify="required" type="text" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline ">
                        <label class="layui-form-label">rul模式</label>
                        <div class="layui-input-block">
                            <select name="uriStyle" lay-verify="required">
                                <option selected value="REST">REST</option>
                                <option value="RESTFUL">RESTFUL</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline ">
                        <label class="layui-form-label">响应模式</label>
                        <div class="layui-input-block">
                            <select name="resModel" lay-verify="required">
                                <option selected value="web">web</option>
                                <option value="json">json</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button id="add-item-btn" lay-submit class="layui-btn"  lay-filter="formDemo">立即提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="layui-card">
        <div class="layui-card-header">客户端列表信息</div>
        <div class="layui-card-body">
            <table id="client-list-table" lay-filter="list"></table>
        </div>
    </div>

</div>
<script src="../js/client-list.js"></script>
</body>
</html>